package cn.itcast.service;

import cn.itcast.entity.FoodType;
import cn.itcast.exception.NullException;
import java.util.List;

public abstract interface FoodTypeService {
	public abstract void add(FoodType paramFoodType);

	public abstract void update(FoodType paramFoodType);

	public abstract List<FoodType> getAll();

	public abstract List<FoodType> getAll(String paramString)
			throws NullException;

	public abstract FoodType findById(int paramInt);

	public abstract void delete(int paramInt);
}